From 3cf8904d0bf7549644c912ece587426829290735 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Oct 2020 17:14:58 -0400 Subject: [PATCH] Add GTK_INPUT_HINT_PRIVATE Add a flag that requests that input methods should not update personalized data (such as typing history). Fixes: #2261 --- gtk/gtkenums.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index be5bd75a9e..d1ca41cb1a 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -866,6 +866,8 @@ typedef enum * @GTK_INPUT_HINT_VERTICAL_WRITING: The text is vertical * @GTK_INPUT_HINT_EMOJI: Suggest offering Emoji support * @GTK_INPUT_HINT_NO_EMOJI: Suggest not offering Emoji support + * @GTK_INPUT_HINT_PRIVATE: Request that the input method should not + * update personalized data (like typing history) * * Describes hints that might be taken into account by input methods * or applications. Note that input methods may already tailor their @@ -890,7 +892,8 @@ typedef enum GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7, GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8, GTK_INPUT_HINT_EMOJI = 1 << 9, - GTK_INPUT_HINT_NO_EMOJI = 1 << 10 + GTK_INPUT_HINT_NO_EMOJI = 1 << 10, + GTK_INPUT_HINT_PRIVATE = 1 << 11, } GtkInputHints; /** -- 2.30.2